import time
A=[randint (0,100) for i in range (5000)
start = time.time()
swapped = True
while swapped:
    swapped = False
    for i in range (len (A)-1):
        1f A[i] > A[i+1]:
        A[i], A[i+1] = A[i+1], A[i]
        swapped = True
    finish = time. time ()
for i in range (5000) :
    print (A[i), end=" ")
print ("Время - ", filename, round ( (finish-start) *1000), "millisecond")
